@charset "utf-8";
@import './modules/header';
@import './modules/footer';
section{
    width: 100%;
    margin-top: 130px;
    min-height: 590px;
    background-color: #fafafa;
    padding-bottom: 30px;
    .cate-top{
       height: 46px;
       background-color: #f5f5f5;
       p{
           width: 1263px;
           height: 46px;
           margin: 0 auto;
           line-height: 46px;
           color: #666666;
           font-weight: bold;
       }
    }
    .timer-span {
           width: 1263px;
           margin: 0 auto;
           height: 60px;
           display: flex;
           align-items: center;
           justify-content: flex-end;
            a {
                display: inline-block;
                width: 100px;
                height: 20px;
                font-size: 14px;
                color: #999999;
                text-align: center;
                line-height: 20px;
    
            }
            a:hover{
                color:#eb1c04 ;
        }
       
    }
    .cate-cent {
        width: 1263px;
        margin: 0 auto;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        .shop-cate{
            margin-top: 10px;
            width: 290px;
            height: 385px;
            background-color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-left: 10px;
            position: relative;
            overflow: hidden;

            .shop-img{
                display: inline-block;
                width:290px ;
                height: 290px;
                // margin-top: 45px;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            p{
                width: 290px;
                text-align: center;
                height: 40px;
                line-height: 40px;
                color: #474747;
                font-size: 14px;
            }
            .p-price{
                font-size: 16px;
                color:#eb1c04;
                font-weight: 600;
            }
            .user-card{
                width: 100%;
                height: 115px;
                position: absolute;
                top: 385px;
                z-index: 100;
                background-color: #000000;
                opacity: 0.8;
                span{
                    display: flex;
                    width: 100%;
                    height: 44px;
                    align-items: center;
                    justify-content: center;
                    color:#eb1c04 ;
                }
                a{
                    width: 216px;
                    height: 46px;
                    display: inline-block;
                    border: 1px solid #fafafa;
                    margin-left: 38px;
                    margin-top: 10px;
                    color: #fafafa;
                    text-align: center;
                    line-height: 46px;
                }
                a:hover{
                    background-color: #e90404;
                }
            }
        }
        .shop-cate:hover .user-card{
            transition: all 1s;
            top: 270px;
        }
    }
    
}
.home-btn{
    width: 65px;
    height: 65px;
    background-color:white;
    position: fixed;
    right: 10px;
    top:530px;
    a{
        padding-top: 10px;
        display: block;
        width: 65px;
        height: 55px;
        font-size: 16px;
        text-align: center;
        color: #999999;
    }
    a:hover{
        color: #eb1c04;
    }
}